package com.duanjw.springboot.es.service;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.search.SearchHit;

import com.duanjw.springboot.params.pojo.dto.UserDTO;

import cn.hutool.core.bean.BeanUtil;

public interface DemoService {

    void createIndex(String index);

    void insert(String index, List<UserDTO> list);

    List<UserDTO> searchList(String index);
}
